/**
 * Created by Chris on 14-3-30.
 */
require.config({
    baseUrl: '/static/assets/js',
    paths: {
        text: 'lib/require-plugins/text',
        domReady: 'lib/require-plugins/domready',

        // the left side is the module ID,
        // the right side is the path to
        // the jQuery file, relative to baseUrl.
        // Also, the path should NOT include
        // the '.js' file extension. This example
        // is using jQuery 1.9.0 located at
        // js/lib/jquery-1.9.0.js, relative to
        // the HTML page.
        underscore: 'lib/underscore',

        jquery: 'jquery-1.11.0.min',


        'jquery-ui': 'jquery-ui-1.10.4.custom',
        'jquery-validationEngine': 'jquery-plugin/jquery.validationEngine',
        'jquery-validationEngine-locale': 'jquery-plugin/jquery.validationEngine-zh_CN',
        'jquery-validate': 'jquery-plugin/jquery.validate',
        'bootstrap': 'bootstrap.min',

    },
    /*map: {
     // '*' means all modules will get 'jquery-private'
     // for their 'jquery' dependency.
     '*': { 'jquery': 'jquery-private' },
     },
     */
    shim: {
        'jquery': {
            deps: ['underscore'],
            exports: '$'
        },
//        'jquery-validate':"jquery",
        'jquery-validationEngine':['jquery', 'jquery-validationEngine-locale'],
        'jquery-ui': {
            deps: ['jquery']
//            exports: 'jquery-ui'
        },
        underscore: {
            exports: '_'
        },
        'bootstrap': {
            deps: ['jquery']
        }


    }
});
